import { createPinia } from 'pinia'
//修改者：hacja
// 导入所有store模块
import { useAuthStore } from './modules/auth'
import { useUserStore } from './modules/user'
import { useConversationStore } from './modules/conversation'
import { useRoomStore } from './modules/room'
import { useGroupingStore } from './modules/grouping'
import { useApplyStore } from './modules/apply'
import { useWebsocketStore } from './modules/websocket'
import { useMediaStore } from './modules/media'
import { useExpressionStore } from './modules/expression'
import { useRootStore } from './root'

const pinia = createPinia()

// 导出pinia实例
export default pinia

// 导出所有store
export {
  useAuthStore,
  useUserStore,
  useConversationStore,
  useRoomStore,
  useGroupingStore,
  useApplyStore,
  useWebsocketStore,
  useMediaStore,
  useExpressionStore,
  useRootStore
}